#ifndef ACT_H
#define ACT_H
#include "Bridget.h"

#include <QtXml>

class Act: public QObject
{
    Q_OBJECT
private:
    QString name;
    double time;
    double energy;
    QDomDocument docAct;
    double weight;


public:
    Act();
    Act(Bridget *bd);
    ~Act()
    {};
    void setName(QString name1);
    void setTime(double time1);
    void setWeight(double weight1);
    QString getName();
    double getTime();
    bool setPar();
    double getEnergy();
    void setEnergy(double energy1);
    void addAct();
    bool inBase();
    double getWeight();
    void doRecordAct();



};
#endif // ACT_H
